<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateWxminiprogramAuditTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('wxminiprogram_audit', function (Blueprint $table) {
            $table->increments('id');
            $table->string('appid')->nullable()->comment('小程序appid');
            $table->string('auditid')->nullable()->comment('审核编号');
            $table->integer('status')->nullable()->comment('审核状态说明:0审核成功;1审核被拒绝;2审核中;3	已撤回;4审核延后');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('wxminiprogram_audit');
    }
}
